package com.tianhao.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 资产采购订单表
 *
 * @author tianhao.luo@hand-china.com 2021-03-24 14:43:03
 */
@Data
public class AssetPurchaseOrder  {

    public static final String FIELD_PO_NUM = "poNum";
    public static final String FIELD_DESCRIPTION = "description";
    public static final String FIELD_ORDER_DATE = "orderDate";
    public static final String FIELD_SITE_ID = "siteId";
    public static final String FIELD_PO_LINE_NUM = "poLineNum";
    public static final String FIELD_ASSET_NAME = "assetName";
    public static final String FIELD_CU_BRAND = "cuBrand";
    public static final String FIELD_CU_MODEL = "cuModel";
    public static final String FIELD_CUTEC_PARAM = "cutecParam";
    public static final String FIELD_ORDER_QTY = "orderQty";
    public static final String FIELD_UNIT_COST = "unitCost";
    public static final String FIELD_DEPT_NUM = "deptNum";
    public static final String FIELD_DEPT_NAME = "deptName";
    public static final String FIELD_PROJECT_CODE = "projectCode";
    public static final String FIELD_TASK_CODE = "taskCode";
    public static final String FIELD_PURCHASE_LINE_ID = "purchaseLineId";
    public static final String FIELD_PURCHASE_HEADER_ID = "purchaseHeaderId";

    //
    // 业务方法(按public protected private顺序排列)
    // ------------------------------------------------------------------------------

    //
    // 数据库字段
    // ------------------------------------------------------------------------------



    private Long id;

    private String poNum;

    private String description;

    private Date orderDate;

    private String siteId;

    private Long poLineNum;

    private String assetName;
    private String cuBrand;
    private String cuModel;
    private String cutecParam;
    private BigDecimal orderQty;
    private BigDecimal unitCost;
    private String deptNum;
    private String deptName;
    private String projectCode;
    private String taskCode;
    private Long purchaseLineId;
    private Long purchaseHeaderId;

}
